
<include file="Public/header"/>
<h2>请填写app修改信息</h2>


<form action="{:U('admin.php/App/update')}" method="post" class="form-horizontal">

<input type="hidden" name="ydq_id" value="{$one.ydq_id}">

<br>
<div class="form-group">
    <label for="name" class="col-sm-2 control-label">App名称</label>
    <div class="col-sm-10">
      <input type="text" class="form-control" name="ydq_typename" value="{$one.ydq_appname}" id="name" placeholder="Typename" required="">
    </div>
  </div>
<br>

<div class="form-group">
    <label for="dname" class="col-sm-2 control-label">开发者姓名(默认为当前登录用户)</label>
    <div class="col-sm-10">
      <input type="text" class="form-control" name="ydq_developer"  id="dname" placeholder="Developer" value="{$one.ydq_developer}" required="">
    </div>
  </div>


  <div class="form-group">
    <label for="techname" class="col-sm-2 control-label">使用技术</label>
    <div class="col-sm-10">
     <select name="ydq_tech" id="techname" class="form-control" >
     <option value="请选择" >请选择</option>
     <option value="Android" >Android</option>
     <option value="JAVA"  >JAVA</option>
     <option value="PHP"  >PHP</option>
     <option value="C++"   >C++</option>
     </select>
    </div>
  </div>

    <div class="form-group">
    <label for="3" class="col-sm-2 control-label" >app类型</label>
    
    <div class="checkbox">
        <label  class="checkbox-inline" >

    <input type="checkbox" name="ydq_apptype[]" value="社交" id="3" >社交</input>
    </label>
    <label  class="checkbox-inline" >
    <input type="checkbox" name="ydq_apptype[]" value="教育" id="3">教育</input>
    </label>
    <label  class="checkbox-inline" >
    <input type="checkbox" name="ydq_apptype[]" value="实用工具" id="3"  >实用工具</input>
    </label>
    <label  class="checkbox-inline" >
    <input type="checkbox" name="ydq_apptype[]" value="游戏" id="3" >游戏</input>
    </label>
    <label  class="checkbox-inline" >
    <input type="checkbox" name="ydq_apptype[]" value="其他" id="3" >其他</input>
    </label>
    </div>


  <div class="form-group">
    <label for="2" class="col-sm-2 control-label">上传APP的LOGO：文件框，必填，图片大小不要超过1M</label>
    <div class="col-sm-10">
      <img src="__ROOT__/uploads/{$one.ydq_logo}"/>
      <input type="file" class="form-control" name="ydq_logo"  id="2">
    </div>
  </div>

    <div class="form-group">
    <label for="5" class="col-sm-2 control-label">详细介绍</label>
    <div class="col-sm-10">
      <input type="text" class="form-control" name="ydq_intro"  id="5" value="{$one.ydq_intro}" placeholder="详细介绍" required="">
    </div>
  </div>



     <div class="form-group">
    <label  class="col-sm-2 control-label"></label>
    <div class="col-sm-10">
      <button type="submit" class="btn btn-success">提交</button>
      <button type="reset" class="btn btn-warning">重置</button>
    </div>
  </div>
</form>
<include file="Public/foot"/>
